package com.yzh.croom.mapper;

public class MessageSQLProvider {

    public String deleteMessagesByIds(String[] ids) {
        String sql = "delete from tb_message  where id in (";
        for (int i = 0; i < ids.length - 1; i++) {
            sql = sql + ids[i] + ",";
        }
        sql += ids[ids.length - 1] + ")";
        return sql;
    }

}
